/*
 ============================================================================
 Name		: DepositForm.h
 Author	  : Vanderson Rodrigues
 Version	 : 1.0
 Copyright   : Your copyright notice
 Description : CDepositForm declaration
 ============================================================================
 */

#ifndef DEPOSITFORM_H
#define DEPOSITFORM_H

// INCLUDES
#include <e32std.h>
#include <e32base.h>
#include <aknform.h> 
#include <eikedwin.h> 
#include <e32cmn.h>
#include <coedef.h> // COEDEF.H
#include <aknform.h> 
#include <eikedwin.h> 
#include <e32cmn.h>
/**
 *  CDepositForm
 * 
 */
class CDepositForm : public CAknForm
{
public:
    // Constructors and destructor

    /**
     * Destructor.
     */
    ~CDepositForm();

    /**
     * Two-phased constructor.
     */
    static CDepositForm* NewL();

    /**
     * Two-phased constructor.
     */
    static CDepositForm* NewLC();

public:
    /**
     * From CAknForm, ExecuteLD
     * @return CAknForm::ExecuteLD return value
     * @param aResourceId resource ID
     */
//    TInt ExecuteLD( TInt aResourceId );

    /**
     * From CAknForm, PrepareLC
     * @param aResourceId resource ID
     */
//    void PrepareLC( TInt aResourceId );
    
private:  // Functions from base class
        /**
        * From CEikDialog, PostLayoutDynInitL 
        * Set default field value to member data.
        */
        void PreLayoutDynInitL();
 
        /**
        * From CAknForm , QuerySaveChangesL
        * Show save query. If user answers "No" to this query.
        * return field value to the value which is before editing.
        */
        //TBool QuerySaveChangesL();
 
        /**
        * From CAknForm , SaveFormDataL
        * Save the contents of the form.
        */
        TBool SaveFormDataL(); 
 
        /**
        * From CAknForm, DoNotSaveFormDataL
        * Does not save the contents of the form.
        */
        void DoNotSaveFormDataL();
 
        void LoadFormValuesFromDataL();
        
    private:
        /**
        * For holding controls value
        */
        TBuf<40> iDataName;
        
private:

    /**
     * Constructor for performing 1st stage construction
     */
    CDepositForm();

    /**
     * EPOC default constructor for performing 2nd stage construction
     */
    void ConstructL();

};

#endif // DEPOSITFORM_H
